This reverts commit
0963856a941e85881cc82b254585fc76bf5b3aa0.
turns out it's fine on Sonoma, whereas it breaks on Sequoia (the window
now gets stuck below the menubar) -- maybe I'll open up a QTBUG later if
I can reproduce this with a minimal example
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
\r
readonly property int maxMenuHeight: Style.trayWindowHeight - Style.trayWindowHeaderHeight - 2 * Style.trayWindowBorderWidth\r
\r
- Component.onCompleted: {\r
- Systray.forceWindowInit(trayWindow)\r
- if (Systray.useNormalWindow) {\r
- return;\r
- }\r
-\r
- // do not allow this window to be resized when it's frameless\r
- this.minimumWidth = this.maximumWidth = this.width\r
- this.minimumHeight = this.maximumHeight = this.height\r
- }\r
+ Component.onCompleted: Systray.forceWindowInit(trayWindow)\r
\r
// Close tray window when focus is lost (e.g. click somewhere else on the screen)\r
onActiveChanged: {\r